package com.micro.service.account.server.biz;

import com.micro.service.account.share.dto.UserBaseDto;
import org.springframework.stereotype.Service;

/**
 * @author lvxiucai
 * @description
 * @date 2020/4/9
 */
public interface UserBaseBiz {


    /**
     * @author lvxiucai
     * @description 根据用户名查询用户信息
     * @date 2020/4/9
     * @param username
     * @return
     **/
    UserBaseDto selectByUsername(String username);

    /**
     * @author lvxiucai
     * @description 根据手机号查询用户信息
     * @date 2020/4/9
     * @param mobile
     * @return
     **/
    UserBaseDto selectByMobile(String mobile);

    /**
     * @author lvxiucai
     * @description 根据手机号查询用户信息
     * @date 2020/4/13
     * @param userId
     * @return
     **/
    UserBaseDto selectByUserId(Long userId);
}
